package com.suneee.base.sendmsg.wsclient;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "smsResultOut", propOrder = { "resultsuccess", "resulterror",
		"errPhones", "msg", "resultCode" })
public class SmsResultOut {

	@XmlElement(name = "RESULT_SUCCESS")
	protected String resultsuccess;
	@XmlElement(name = "RESULT_ERROR")
	protected String resulterror;
	@XmlElement(nillable = true)
	protected List<String> errPhones;
	protected String msg;
	protected String resultCode;

	/**
	 * Gets the value of the resultsuccess property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getRESULTSUCCESS() {
		return resultsuccess;
	}

	/**
	 * Sets the value of the resultsuccess property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setRESULTSUCCESS(String value) {
		this.resultsuccess = value;
	}

	/**
	 * Gets the value of the resulterror property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getRESULTERROR() {
		return resulterror;
	}

	/**
	 * Sets the value of the resulterror property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setRESULTERROR(String value) {
		this.resulterror = value;
	}

	/**
	 * Gets the value of the errPhones property.
	 * 
	 * <p>
	 * This accessor method returns a reference to the live list, not a
	 * snapshot. Therefore any modification you make to the returned list will
	 * be present inside the JAXB object. This is why there is not a
	 * <CODE>set</CODE> method for the errPhones property.
	 * 
	 * <p>
	 * For example, to add a new item, do as follows:
	 * 
	 * <pre>
	 * getErrPhones().add(newItem);
	 * </pre>
	 * 
	 * 
	 * <p>
	 * Objects of the following type(s) are allowed in the list {@link String }
	 * 
	 * 
	 */
	public List<String> getErrPhones() {
		if (errPhones == null) {
			errPhones = new ArrayList<String>();
		}
		return this.errPhones;
	}

	/**
	 * Gets the value of the msg property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getMsg() {
		return msg;
	}

	/**
	 * Sets the value of the msg property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setMsg(String value) {
		this.msg = value;
	}

	/**
	 * Gets the value of the resultCode property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getResultCode() {
		return resultCode;
	}

	/**
	 * Sets the value of the resultCode property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setResultCode(String value) {
		this.resultCode = value;
	}
}
